<html>
<head>
<title>gly.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #000000;}
.s1 { color: #0000ff; font-weight: bold;}
.s2 { color: #000000;}
.s3 { color: #000080; font-weight: bold;}
.s4 { color: #008000; font-weight: bold;}
.s5 { color: #808080; font-style: italic;}
.s6 { color: #000080; font-weight: bold;}
.s7 { color: #008000; font-weight: bold;}
.s8 { color: #0000ff; font-weight: bold;}
.s9 { color: #0000ff;}
.ln { color: #999999; font-weight: normal; font-style: normal; }
</style>
</head>
<body bgcolor="#ffffff">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#c0c0c0" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
gly.html</font>
</center></td></tr></table>
<pre><a name="l1"><span class="ln">1    </span></a>&lt;!DOCTYPE <span class="s1">html</span>&gt;
<a name="l2"><span class="ln">2    </span></a>&lt;<span class="s3">html </span><span class="s1">lang=</span><span class="s4">&quot;zh&quot; </span><span class="s1">xmlns:th=</span><span class="s4">&quot;http://www.thymeleaf.org&quot;</span>&gt;
<a name="l3"><span class="ln">3    </span></a>&lt;<span class="s3">head</span>&gt;
<a name="l4"><span class="ln">4    </span></a>    &lt;<span class="s3">th:block </span><span class="s1">th:include=</span><span class="s4">&quot;include :: header('系统管理员操作界面')&quot;</span>/&gt;
<a name="l5"><span class="ln">5    </span></a>    <span class="s5">&lt;!--&lt;th:block th:include=&quot;include :: bootstrap-select-css&quot;/&gt;--&gt;</span>
<a name="l6"><span class="ln">6    </span></a>    &lt;!--&lt;th:block th:include=&quot;include :: jasny-bootstrap-css&quot;/&gt;--&gt;
<a name="l7"><span class="ln">7    </span></a>    &lt;!--&lt;th:block th:include=&quot;include :: datetimepicker-css&quot;/&gt;--&gt;
<a name="l8"><span class="ln">8    </span></a>    &lt;<span class="s3">link </span><span class="s1">th:href=</span><span class="s4">&quot;@{/ruoyi/css/font-awesome.css}&quot; </span><span class="s1">rel=</span><span class="s4">&quot;stylesheet&quot;</span>/&gt;
<a name="l9"><span class="ln">9    </span></a>    &lt;<span class="s3">link </span><span class="s1">th:href=</span><span class="s4">&quot;@{/ruoyi/css/jquery-confirm.min.css}&quot; </span><span class="s1">rel=</span><span class="s4">&quot;stylesheet&quot;</span>/&gt;
<a name="l10"><span class="ln">10   </span></a>&lt;/<span class="s3">head</span>&gt;
<a name="l11"><span class="ln">11   </span></a>&lt;<span class="s3">style </span><span class="s1">type=</span><span class="s4">&quot;text/css&quot;</span>&gt;
<a name="l12"><span class="ln">12   </span></a>
<a name="l13"><span class="ln">13   </span></a>    <span class="s6">@media </span><span class="s7">screen </span><span class="s6">and </span>(<span class="s8">max-width</span>: <span class="s9">768</span><span class="s7">px</span>) {
<a name="l14"><span class="ln">14   </span></a>
<a name="l15"><span class="ln">15   </span></a>    }
<a name="l16"><span class="ln">16   </span></a>
<a name="l17"><span class="ln">17   </span></a>    <span class="s5">/**电脑屏幕下显示***/</span>
<a name="l18"><span class="ln">18   </span></a>    <span class="s6">@media </span><span class="s7">screen </span><span class="s6">and </span>(<span class="s8">min-width</span>: <span class="s9">768</span><span class="s7">px</span>) {
<a name="l19"><span class="ln">19   </span></a>        <span class="s6">body </span>{
<a name="l20"><span class="ln">20   </span></a>            <span class="s5">/*text-align:center;*/</span>
<a name="l21"><span class="ln">21   </span></a>            <span class="s8">margin</span>: <span class="s9">0</span><span class="s7">px auto</span>;
<a name="l22"><span class="ln">22   </span></a>        }
<a name="l23"><span class="ln">23   </span></a>    }
<a name="l24"><span class="ln">24   </span></a>&lt;/<span class="s3">style</span>&gt;
<a name="l25"><span class="ln">25   </span></a>&lt;<span class="s3">body </span><span class="s1">class=</span><span class="s4">&quot;gray-bg&quot;</span>&gt;
<a name="l26"><span class="ln">26   </span></a><span class="s5">&lt;!--编辑模态框开始--&gt;</span>
<a name="l27"><span class="ln">27   </span></a>&lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal fade&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbUpdateModal&quot; </span><span class="s1">tabindex=</span><span class="s4">&quot;-1&quot; </span><span class="s1">role=</span><span class="s4">&quot;dialog&quot; </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>
<a name="l28"><span class="ln">28   </span></a>     <span class="s1">data-keyboard=</span><span class="s4">&quot;false&quot;</span>&gt;
<a name="l29"><span class="ln">29   </span></a>    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-dialog modal-sm&quot;</span>&gt;
<a name="l30"><span class="ln">30   </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-content&quot;</span>&gt;
<a name="l31"><span class="ln">31   </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-header&quot;</span>&gt;
<a name="l32"><span class="ln">32   </span></a>                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;close&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;&lt;<span class="s3">span </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>&gt;<span class="s1">&amp;times;</span>&lt;/<span class="s3">span</span>&gt;&lt;<span class="s3">span</span>
<a name="l33"><span class="ln">33   </span></a>                        <span class="s1">class=</span><span class="s4">&quot;sr-only&quot;</span>&gt;Close&lt;/<span class="s3">span</span>&gt;
<a name="l34"><span class="ln">34   </span></a>                &lt;/<span class="s3">button</span>&gt;
<a name="l35"><span class="ln">35   </span></a>                &lt;<span class="s3">h1 </span><span class="s1">class=</span><span class="s4">&quot;modal-title&quot;</span>&gt;&lt;<span class="s3">strong</span>&gt;编辑公司名称&lt;/<span class="s3">strong</span>&gt;&lt;/<span class="s3">h1</span>&gt;
<a name="l36"><span class="ln">36   </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l37"><span class="ln">37   </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-body&quot;</span>&gt;
<a name="l38"><span class="ln">38   </span></a>                &lt;<span class="s3">form </span><span class="s1">id=</span><span class="s4">&quot;form-sb-update&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-horizontal&quot;</span>&gt;
<a name="l39"><span class="ln">39   </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s8">display</span>: <span class="s7">none</span><span class="s4">&quot;</span>&gt;
<a name="l40"><span class="ln">40   </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l41"><span class="ln">41   </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-4 control-label&quot;</span>&gt;公司编码&lt;/<span class="s3">label</span>&gt;
<a name="l42"><span class="ln">42   </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-8&quot;</span>&gt;
<a name="l43"><span class="ln">43   </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;gsid&quot; </span><span class="s1">id=</span><span class="s4">&quot;gsid_up&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;
<a name="l44"><span class="ln">44   </span></a>                                &lt;<span class="s3">input </span><span class="s1">id=</span><span class="s4">&quot;uId_up&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot;</span>&gt;
<a name="l45"><span class="ln">45   </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l46"><span class="ln">46   </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l47"><span class="ln">47   </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l48"><span class="ln">48   </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l49"><span class="ln">49   </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l50"><span class="ln">50   </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-4 control-label&quot;</span>&gt;登录名&lt;/<span class="s3">label</span>&gt;
<a name="l51"><span class="ln">51   </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-8&quot;</span>&gt;
<a name="l52"><span class="ln">52   </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l53"><span class="ln">53   </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;loginName&quot; </span><span class="s1">id=</span><span class="s4">&quot;lname_up&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;
<a name="l54"><span class="ln">54   </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l55"><span class="ln">55   </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l56"><span class="ln">56   </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l57"><span class="ln">57   </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l58"><span class="ln">58   </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l59"><span class="ln">59   </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l60"><span class="ln">60   </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-4 control-label&quot;</span>&gt;用户名&lt;/<span class="s3">label</span>&gt;
<a name="l61"><span class="ln">61   </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-8&quot;</span>&gt;
<a name="l62"><span class="ln">62   </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l63"><span class="ln">63   </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;userName&quot; </span><span class="s1">id=</span><span class="s4">&quot;uname_up&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;
<a name="l64"><span class="ln">64   </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l65"><span class="ln">65   </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l66"><span class="ln">66   </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l67"><span class="ln">67   </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l68"><span class="ln">68   </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l69"><span class="ln">69   </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l70"><span class="ln">70   </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-footer&quot;</span>&gt;
<a name="l71"><span class="ln">71   </span></a>                                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;关闭&lt;/<span class="s3">button</span>&gt;
<a name="l72"><span class="ln">72   </span></a>                                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">id=</span><span class="s4">&quot;sb_update_btn&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>updatesb()<span class="s4">&quot;</span>&gt;更新
<a name="l73"><span class="ln">73   </span></a>                                &lt;/<span class="s3">button</span>&gt;
<a name="l74"><span class="ln">74   </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l75"><span class="ln">75   </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l76"><span class="ln">76   </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l77"><span class="ln">77   </span></a>                &lt;/<span class="s3">form</span>&gt;
<a name="l78"><span class="ln">78   </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l79"><span class="ln">79   </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l80"><span class="ln">80   </span></a>    &lt;/<span class="s3">div</span>&gt;
<a name="l81"><span class="ln">81   </span></a>&lt;/<span class="s3">div</span>&gt;
<a name="l82"><span class="ln">82   </span></a><span class="s5">&lt;!--编辑模态框结束--&gt;</span>
<a name="l83"><span class="ln">83   </span></a>&lt;!--添加模态框开始--&gt;
<a name="l84"><span class="ln">84   </span></a>&lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal fade&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbAddModal&quot; </span><span class="s1">tabindex=</span><span class="s4">&quot;-1&quot; </span><span class="s1">role=</span><span class="s4">&quot;dialog&quot; </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>
<a name="l85"><span class="ln">85   </span></a>     <span class="s1">data-keyboard=</span><span class="s4">&quot;false&quot;</span>&gt;
<a name="l86"><span class="ln">86   </span></a>    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-dialog modal-sm&quot;</span>&gt;
<a name="l87"><span class="ln">87   </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-content&quot;</span>&gt;
<a name="l88"><span class="ln">88   </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-header&quot;</span>&gt;
<a name="l89"><span class="ln">89   </span></a>                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;close&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;&lt;<span class="s3">span </span><span class="s1">aria-hidden=</span><span class="s4">&quot;true&quot;</span>&gt;<span class="s1">&amp;times;</span>&lt;/<span class="s3">span</span>&gt;&lt;<span class="s3">span</span>
<a name="l90"><span class="ln">90   </span></a>                        <span class="s1">class=</span><span class="s4">&quot;sr-only&quot;</span>&gt;Close&lt;/<span class="s3">span</span>&gt;
<a name="l91"><span class="ln">91   </span></a>                &lt;/<span class="s3">button</span>&gt;
<a name="l92"><span class="ln">92   </span></a>                &lt;<span class="s3">h1 </span><span class="s1">class=</span><span class="s4">&quot;modal-title&quot;</span>&gt;&lt;<span class="s3">strong</span>&gt;添加管理员账号&lt;/<span class="s3">strong</span>&gt;&lt;/<span class="s3">h1</span>&gt;
<a name="l93"><span class="ln">93   </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l94"><span class="ln">94   </span></a>            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-body&quot;</span>&gt;
<a name="l95"><span class="ln">95   </span></a>                &lt;<span class="s3">form </span><span class="s1">id=</span><span class="s4">&quot;form-sb-add&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-horizontal&quot;</span>&gt;
<a name="l96"><span class="ln">96   </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s8">display</span>: <span class="s7">none</span><span class="s4">&quot;</span>&gt;
<a name="l97"><span class="ln">97   </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l98"><span class="ln">98   </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-4 control-label&quot;</span>&gt;公司编码&lt;/<span class="s3">label</span>&gt;
<a name="l99"><span class="ln">99   </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-8&quot;</span>&gt;
<a name="l100"><span class="ln">100  </span></a>                                &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;gsid&quot; </span><span class="s1">id=</span><span class="s4">&quot;gsid_add&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;请输入公司ID编码&quot;</span>
<a name="l101"><span class="ln">101  </span></a>                                       <span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;
<a name="l102"><span class="ln">102  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l103"><span class="ln">103  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l104"><span class="ln">104  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l105"><span class="ln">105  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l106"><span class="ln">106  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l107"><span class="ln">107  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-4 control-label&quot;</span>&gt;登录名&lt;/<span class="s3">label</span>&gt;
<a name="l108"><span class="ln">108  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-8&quot;</span>&gt;
<a name="l109"><span class="ln">109  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l110"><span class="ln">110  </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;loginName&quot; </span><span class="s1">id=</span><span class="s4">&quot;lname_add&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;请输入登录名&quot;</span>
<a name="l111"><span class="ln">111  </span></a>                                           <span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;
<a name="l112"><span class="ln">112  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l113"><span class="ln">113  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l114"><span class="ln">114  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l115"><span class="ln">115  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l116"><span class="ln">116  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l117"><span class="ln">117  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l118"><span class="ln">118  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-4 control-label&quot;</span>&gt;用户名&lt;/<span class="s3">label</span>&gt;
<a name="l119"><span class="ln">119  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-8&quot;</span>&gt;
<a name="l120"><span class="ln">120  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l121"><span class="ln">121  </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;userName&quot; </span><span class="s1">id=</span><span class="s4">&quot;uname_add&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;请输入用户名&quot;</span>
<a name="l122"><span class="ln">122  </span></a>                                           <span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;
<a name="l123"><span class="ln">123  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l124"><span class="ln">124  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l125"><span class="ln">125  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l126"><span class="ln">126  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l127"><span class="ln">127  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l128"><span class="ln">128  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l129"><span class="ln">129  </span></a>                            &lt;<span class="s3">label </span><span class="s1">class=</span><span class="s4">&quot;col-sm-4 control-label&quot;</span>&gt;密码&lt;/<span class="s3">label</span>&gt;
<a name="l130"><span class="ln">130  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-8&quot;</span>&gt;
<a name="l131"><span class="ln">131  </span></a>                                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;input-group&quot;</span>&gt;
<a name="l132"><span class="ln">132  </span></a>                                    &lt;<span class="s3">input </span><span class="s1">name=</span><span class="s4">&quot;loginPassword&quot; </span><span class="s1">id=</span><span class="s4">&quot;lpassword_add&quot; </span><span class="s1">class=</span><span class="s4">&quot;form-control&quot; </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;请输入登录密码&quot;</span>
<a name="l133"><span class="ln">133  </span></a>                                           <span class="s1">required=</span><span class="s4">&quot;required&quot;</span>&gt;
<a name="l134"><span class="ln">134  </span></a>                                &lt;/<span class="s3">div</span>&gt;
<a name="l135"><span class="ln">135  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l136"><span class="ln">136  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l137"><span class="ln">137  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l138"><span class="ln">138  </span></a>                    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l139"><span class="ln">139  </span></a>                        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;form-group&quot;</span>&gt;
<a name="l140"><span class="ln">140  </span></a>                            &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;modal-footer&quot;</span>&gt;
<a name="l141"><span class="ln">141  </span></a>                                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">data-dismiss=</span><span class="s4">&quot;modal&quot;</span>&gt;关闭&lt;/<span class="s3">button</span>&gt;
<a name="l142"><span class="ln">142  </span></a>                                &lt;<span class="s3">button </span><span class="s1">type=</span><span class="s4">&quot;button&quot; </span><span class="s1">class=</span><span class="s4">&quot;btn btn-white&quot; </span><span class="s1">id=</span><span class="s4">&quot;sb_save_btn&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>savesb()<span class="s4">&quot;</span>&gt;保存
<a name="l143"><span class="ln">143  </span></a>                                &lt;/<span class="s3">button</span>&gt;
<a name="l144"><span class="ln">144  </span></a>                            &lt;/<span class="s3">div</span>&gt;
<a name="l145"><span class="ln">145  </span></a>                        &lt;/<span class="s3">div</span>&gt;
<a name="l146"><span class="ln">146  </span></a>                    &lt;/<span class="s3">div</span>&gt;
<a name="l147"><span class="ln">147  </span></a>                &lt;/<span class="s3">form</span>&gt;
<a name="l148"><span class="ln">148  </span></a>            &lt;/<span class="s3">div</span>&gt;
<a name="l149"><span class="ln">149  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l150"><span class="ln">150  </span></a>    &lt;/<span class="s3">div</span>&gt;
<a name="l151"><span class="ln">151  </span></a>&lt;/<span class="s3">div</span>&gt;
<a name="l152"><span class="ln">152  </span></a><span class="s5">&lt;!--添加模态框结束--&gt;</span>
<a name="l153"><span class="ln">153  </span></a>&lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;container-div&quot;</span>&gt;
<a name="l154"><span class="ln">154  </span></a>    &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;row&quot;</span>&gt;
<a name="l155"><span class="ln">155  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12 search-collapse&quot;</span>&gt;
<a name="l156"><span class="ln">156  </span></a>            &lt;<span class="s3">form </span><span class="s1">id=</span><span class="s4">&quot;operlog-form&quot;</span>&gt;
<a name="l157"><span class="ln">157  </span></a>                &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;select-list&quot;</span>&gt;
<a name="l158"><span class="ln">158  </span></a>                    &lt;<span class="s3">ul</span>&gt;
<a name="l159"><span class="ln">159  </span></a>                        &lt;<span class="s3">li</span>&gt;
<a name="l160"><span class="ln">160  </span></a>                            &lt;<span class="s3">label</span>&gt;检索：&lt;/<span class="s3">label</span>&gt;&lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;text&quot; </span><span class="s1">name=</span><span class="s4">&quot;sbbh&quot; </span><span class="s1">id=</span><span class="s4">&quot;sbbh&quot; </span><span class="s1">placeholder=</span><span class="s4">&quot;请输入设备编码进行查询&quot;</span>
<a name="l161"><span class="ln">161  </span></a>                                                     <span class="s1">onkeydown=</span><span class="s4">&quot;</span><span class="s6">if</span>(event.keyCode==<span class="s9">13</span>){event.keyCode=<span class="s9">0</span>;event.returnValue=<span class="s6">false</span>;alert(<span class="s7">'请点击后面的搜索框'</span>);}<span class="s4">&quot;</span>/&gt;
<a name="l162"><span class="ln">162  </span></a>                        &lt;/<span class="s3">li</span>&gt;
<a name="l163"><span class="ln">163  </span></a>                        &lt;<span class="s3">li</span>&gt;
<a name="l164"><span class="ln">164  </span></a>                            &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-primary btn-rounded btn-sm&quot; </span><span class="s1">id=</span><span class="s4">&quot;search_btn&quot;</span>&gt;&lt;<span class="s3">i</span>
<a name="l165"><span class="ln">165  </span></a>                                    <span class="s1">class=</span><span class="s4">&quot;fa fa-search&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt;<span class="s8">&amp;nbsp;</span>搜索&lt;/<span class="s3">a</span>&gt;
<a name="l166"><span class="ln">166  </span></a>                        &lt;/<span class="s3">li</span>&gt;
<a name="l167"><span class="ln">167  </span></a>                    &lt;/<span class="s3">ul</span>&gt;
<a name="l168"><span class="ln">168  </span></a>                &lt;/<span class="s3">div</span>&gt;
<a name="l169"><span class="ln">169  </span></a>            &lt;/<span class="s3">form</span>&gt;
<a name="l170"><span class="ln">170  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l171"><span class="ln">171  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;btn-group-sm&quot; </span><span class="s1">id=</span><span class="s4">&quot;toolbar&quot; </span><span class="s1">role=</span><span class="s4">&quot;group&quot;</span>&gt;
<a name="l172"><span class="ln">172  </span></a>            &lt;<span class="s3">a </span><span class="s1">class=</span><span class="s4">&quot;btn btn-success&quot; </span><span class="s1">onclick=</span><span class="s4">&quot;</span>addgsmc()<span class="s4">&quot;</span>&gt;
<a name="l173"><span class="ln">173  </span></a>                &lt;<span class="s3">i </span><span class="s1">class=</span><span class="s4">&quot;fa fa-pencil&quot;</span>&gt;&lt;/<span class="s3">i</span>&gt; 添加管理员
<a name="l174"><span class="ln">174  </span></a>            &lt;/<span class="s3">a</span>&gt;
<a name="l175"><span class="ln">175  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l176"><span class="ln">176  </span></a>        &lt;<span class="s3">div </span><span class="s1">class=</span><span class="s4">&quot;col-sm-12 select-table table-striped&quot;</span>&gt;
<a name="l177"><span class="ln">177  </span></a>            &lt;<span class="s3">table </span><span class="s1">id=</span><span class="s4">&quot;bootstrap-table&quot; </span><span class="s1">data-mobile-responsive=</span><span class="s4">&quot;true&quot;</span>&gt;&lt;/<span class="s3">table</span>&gt;
<a name="l178"><span class="ln">178  </span></a>        &lt;/<span class="s3">div</span>&gt;
<a name="l179"><span class="ln">179  </span></a>    &lt;/<span class="s3">div</span>&gt;
<a name="l180"><span class="ln">180  </span></a>&lt;/<span class="s3">div</span>&gt;
<a name="l181"><span class="ln">181  </span></a>&lt;<span class="s3">div</span>&gt;&lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">id=</span><span class="s4">&quot;_pageNumber&quot;</span>&gt;&lt;/<span class="s3">div</span>&gt;
<a name="l182"><span class="ln">182  </span></a>&lt;<span class="s3">div</span>&gt;&lt;<span class="s3">input </span><span class="s1">type=</span><span class="s4">&quot;hidden&quot; </span><span class="s1">id=</span><span class="s4">&quot;_pageSize&quot;</span>&gt;&lt;/<span class="s3">div</span>&gt;
<a name="l183"><span class="ln">183  </span></a>&lt;<span class="s3">p </span><span class="s1">id=</span><span class="s4">&quot;pusername&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s8">display</span>: <span class="s7">none</span><span class="s4">&quot;</span>&gt;[[${session.username}]]&lt;/<span class="s3">p</span>&gt;
<a name="l184"><span class="ln">184  </span></a>&lt;<span class="s3">p </span><span class="s1">id=</span><span class="s4">&quot;pgsid&quot; </span><span class="s1">style=</span><span class="s4">&quot;</span><span class="s8">display</span>: <span class="s7">none</span><span class="s4">&quot;</span>&gt;[[${session.gsid}]]&lt;/<span class="s3">p</span>&gt;
<a name="l185"><span class="ln">185  </span></a>&lt;<span class="s3">th:block </span><span class="s1">th:include=</span><span class="s4">&quot;include :: footer&quot;</span>/&gt;
<a name="l186"><span class="ln">186  </span></a>&lt;<span class="s3">script </span><span class="s1">th:inline=</span><span class="s4">&quot;javascript&quot;</span>&gt;
<a name="l187"><span class="ln">187  </span></a>    <span class="s5">// var sessionname = [[${session.username}]]</span>
<a name="l188"><span class="ln">188  </span></a>    // var gsid = [[${session.gsid}]]
<a name="l189"><span class="ln">189  </span></a>    $(document).ready(<span class="s6">function </span>() {
<a name="l190"><span class="ln">190  </span></a>        <span class="s5">// $(&quot;#dengmz&quot;).val(sessionname)</span>
<a name="l191"><span class="ln">191  </span></a>        // if (gsid == null) {
<a name="l192"><span class="ln">192  </span></a>        //     alert(&quot;当前状态未登陆系统或浏览器中当前会话结束了，您需要重新登陆&quot;)
<a name="l193"><span class="ln">193  </span></a>        //     window.location.href = &quot;/login&quot;;
<a name="l194"><span class="ln">194  </span></a>        // }
<a name="l195"><span class="ln">195  </span></a>        // $(&quot;#gsids&quot;).val(gsid)
<a name="l196"><span class="ln">196  </span></a>        initUserTable();
<a name="l197"><span class="ln">197  </span></a>
<a name="l198"><span class="ln">198  </span></a>        <span class="s6">function </span>initUserTable() {
<a name="l199"><span class="ln">199  </span></a>            $(<span class="s7">&quot;#bootstrap-table&quot;</span>).bootstrapTable({
<a name="l200"><span class="ln">200  </span></a>                toolbar: <span class="s7">'#toolbar'</span>,
<a name="l201"><span class="ln">201  </span></a>                showToggle: <span class="s6">true</span>,<span class="s5">//是否切换显示</span>
<a name="l202"><span class="ln">202  </span></a>                showColumns: <span class="s6">true</span>,<span class="s5">//是否显示列，</span>
<a name="l203"><span class="ln">203  </span></a>                showColumnsToggleAll: <span class="s6">true</span>,
<a name="l204"><span class="ln">204  </span></a>                <span class="s5">// detailView: true,//和下面的属性成对设置，是否显示加号显示详细信息</span>
<a name="l205"><span class="ln">205  </span></a>                // detailFormatter: &quot;detailFormatter&quot;,
<a name="l206"><span class="ln">206  </span></a>                showExport: <span class="s6">true</span>,<span class="s5">//是否导出</span>
<a name="l207"><span class="ln">207  </span></a>                // showPaginationSwitch: true,//切换是否分页显示
<a name="l208"><span class="ln">208  </span></a>                showFooter: <span class="s6">true</span>,<span class="s5">//是否显示页脚，主要用途是显示汇总的信息</span>
<a name="l209"><span class="ln">209  </span></a>                striped: <span class="s6">false</span>,<span class="s5">//是否显示行间隔色</span>
<a name="l210"><span class="ln">210  </span></a>                paginationPreText: <span class="s7">'上一页'</span>,
<a name="l211"><span class="ln">211  </span></a>                paginationNextText: <span class="s7">'下一页'</span>,
<a name="l212"><span class="ln">212  </span></a>                queryParamsType: <span class="s7">''</span>,
<a name="l213"><span class="ln">213  </span></a>                method: <span class="s7">'GET'</span>,
<a name="l214"><span class="ln">214  </span></a>                uniqueId: <span class="s7">&quot;id&quot;</span>,
<a name="l215"><span class="ln">215  </span></a>                exportDataType: <span class="s7">&quot;basic&quot;</span>, <span class="s5">//basic', 'all', 'selected'.</span>
<a name="l216"><span class="ln">216  </span></a>                // exportTypes:['Excel'],  //导出文件类型
<a name="l217"><span class="ln">217  </span></a>                pageNumber: <span class="s7">'form' </span>? <span class="s9">1 </span>: parseInt($(<span class="s7">'#_pageNumber'</span>).val()),
<a name="l218"><span class="ln">218  </span></a>                pagination: <span class="s6">true</span>,<span class="s5">//是否分页</span>
<a name="l219"><span class="ln">219  </span></a>                sidePagination: <span class="s7">'server'</span>,<span class="s5">//server:服务器端分页|client：前端分页</span>
<a name="l220"><span class="ln">220  </span></a>                pageSize: <span class="s7">'form' </span>? <span class="s9">10 </span>: parseInt($(<span class="s7">'#_pageSize'</span>).val()),<span class="s5">//单页记录数</span>
<a name="l221"><span class="ln">221  </span></a>                pageList: [<span class="s9">10</span>, <span class="s9">20</span>, <span class="s9">30</span>, <span class="s7">'ALL'</span>],<span class="s5">//可选择单页记录数</span>
<a name="l222"><span class="ln">222  </span></a>                showRefresh: <span class="s6">true</span>,<span class="s5">//刷新按钮</span>
<a name="l223"><span class="ln">223  </span></a>                queryParams: queryParams,
<a name="l224"><span class="ln">224  </span></a>                <span class="s5">// onDblClickRow: function (row,index) {</span>
<a name="l225"><span class="ln">225  </span></a>                //     console.log(index[0])
<a name="l226"><span class="ln">226  </span></a>                // },
<a name="l227"><span class="ln">227  </span></a>                url: <span class="s7">&quot;/sbgl/sbuser/getsbuserlist/&quot;</span>,
<a name="l228"><span class="ln">228  </span></a>                columns: [{
<a name="l229"><span class="ln">229  </span></a>                    checkbox: <span class="s6">true</span>
<a name="l230"><span class="ln">230  </span></a>                },
<a name="l231"><span class="ln">231  </span></a>                    {
<a name="l232"><span class="ln">232  </span></a>                        field: <span class="s7">'no'</span>,
<a name="l233"><span class="ln">233  </span></a>                        title: <span class="s7">'序号'</span>,
<a name="l234"><span class="ln">234  </span></a>                        align: <span class="s7">&quot;center&quot;</span>,
<a name="l235"><span class="ln">235  </span></a>                        width: <span class="s9">60</span>,
<a name="l236"><span class="ln">236  </span></a>                        formatter: <span class="s6">function </span>(value, row, index) {
<a name="l237"><span class="ln">237  </span></a>                            <span class="s6">return </span>index + <span class="s9">1</span>;
<a name="l238"><span class="ln">238  </span></a>                        }
<a name="l239"><span class="ln">239  </span></a>                    },
<a name="l240"><span class="ln">240  </span></a>                    {
<a name="l241"><span class="ln">241  </span></a>                        field: <span class="s7">'gsid'</span>,
<a name="l242"><span class="ln">242  </span></a>                        title: <span class="s7">'公司编码'</span>
<a name="l243"><span class="ln">243  </span></a>                    },
<a name="l244"><span class="ln">244  </span></a>                    {
<a name="l245"><span class="ln">245  </span></a>                        field: <span class="s7">'userId'</span>,
<a name="l246"><span class="ln">246  </span></a>                        title: <span class="s7">'用户名ID号'</span>
<a name="l247"><span class="ln">247  </span></a>                    },
<a name="l248"><span class="ln">248  </span></a>                    {
<a name="l249"><span class="ln">249  </span></a>                        field: <span class="s7">'loginName'</span>,
<a name="l250"><span class="ln">250  </span></a>                        title: <span class="s7">'登录名'</span>
<a name="l251"><span class="ln">251  </span></a>                    },
<a name="l252"><span class="ln">252  </span></a>                    {
<a name="l253"><span class="ln">253  </span></a>                        field: <span class="s7">'userName'</span>,
<a name="l254"><span class="ln">254  </span></a>                        title: <span class="s7">'用户名'</span>
<a name="l255"><span class="ln">255  </span></a>                    },
<a name="l256"><span class="ln">256  </span></a>                    {
<a name="l257"><span class="ln">257  </span></a>                        field: <span class="s7">'loginPassword'</span>,
<a name="l258"><span class="ln">258  </span></a>                        title: <span class="s7">'登录密码'</span>
<a name="l259"><span class="ln">259  </span></a>                    },
<a name="l260"><span class="ln">260  </span></a>                    {
<a name="l261"><span class="ln">261  </span></a>                        title: <span class="s7">'操作'</span>,
<a name="l262"><span class="ln">262  </span></a>                        align: <span class="s7">'center'</span>,
<a name="l263"><span class="ln">263  </span></a>                        formatter: <span class="s6">function </span>(value, row, index) {
<a name="l264"><span class="ln">264  </span></a>                            <span class="s6">var </span>id = index;
<a name="l265"><span class="ln">265  </span></a>                            <span class="s6">var </span>result = <span class="s7">&quot;&quot;</span>;
<a name="l266"><span class="ln">266  </span></a>                                result += <span class="s7">&quot;&lt;a href='javascript:;' class='btn btn-xs blue'  onclick=</span><span class="s6">\&quot;</span><span class="s7">EditViewById('&quot; </span>+ row + <span class="s7">&quot;','&quot; </span>+ id + <span class="s7">&quot;')</span><span class="s6">\&quot; </span><span class="s7">title='生成二维码'&gt;&lt;span class='glyphicon glyphicon-pencil'&gt;&lt;/span&gt;&lt;/a&gt;&quot;</span>;
<a name="l267"><span class="ln">267  </span></a>                                result += <span class="s7">&quot;&lt;a href='javascript:;' class='btn btn-xs blue'  onclick=</span><span class="s6">\&quot;</span><span class="s7">UpdateMxById('&quot; </span>+ row + <span class="s7">&quot;','&quot; </span>+ id + <span class="s7">&quot;')</span><span class="s6">\&quot; </span><span class="s7">title='重置登录密码'&gt;&lt;span class='glyphicon glyphicon-search'&gt;&lt;/span&gt;&lt;/a&gt;&quot;</span>;
<a name="l268"><span class="ln">268  </span></a>                                <span class="s6">return </span>result;
<a name="l269"><span class="ln">269  </span></a>                        }
<a name="l270"><span class="ln">270  </span></a>                    }]
<a name="l271"><span class="ln">271  </span></a>            })
<a name="l272"><span class="ln">272  </span></a>        }})
<a name="l273"><span class="ln">273  </span></a>    <span class="s6">function </span>queryParams(params) {
<a name="l274"><span class="ln">274  </span></a>        <span class="s6">var </span>param = {
<a name="l275"><span class="ln">275  </span></a>            limit: params.limit, <span class="s5">// 页面大小</span>
<a name="l276"><span class="ln">276  </span></a>            offset: params.offset, <span class="s5">// 页码</span>
<a name="l277"><span class="ln">277  </span></a>            nextPage: params.pageNumber,
<a name="l278"><span class="ln">278  </span></a>            pageNumber: params.pageNumber,
<a name="l279"><span class="ln">279  </span></a>            pageSize: params.pageSize,
<a name="l280"><span class="ln">280  </span></a>            cxtj: $(<span class="s7">&quot;#sbbh&quot;</span>).val(),
<a name="l281"><span class="ln">281  </span></a>            gsid: $(<span class="s7">&quot;#pgsid&quot;</span>).text(),
<a name="l282"><span class="ln">282  </span></a>            <span class="s5">// bfbs: $(&quot;#is_bf&quot;).val(),</span>
<a name="l283"><span class="ln">283  </span></a>        };
<a name="l284"><span class="ln">284  </span></a>        <span class="s6">return </span>param;
<a name="l285"><span class="ln">285  </span></a>    }
<a name="l286"><span class="ln">286  </span></a>
<a name="l287"><span class="ln">287  </span></a>    <span class="s5">//查询按钮事件</span>
<a name="l288"><span class="ln">288  </span></a>    $(<span class="s7">'#search_btn'</span>).click(<span class="s6">function </span>() {
<a name="l289"><span class="ln">289  </span></a>        refresh()
<a name="l290"><span class="ln">290  </span></a>    });
<a name="l291"><span class="ln">291  </span></a>
<a name="l292"><span class="ln">292  </span></a>    <span class="s6">function </span>refresh() {
<a name="l293"><span class="ln">293  </span></a>        <span class="s6">var </span>pageSize = $(<span class="s7">'#bootstrap-table'</span>).bootstrapTable(<span class="s7">'getOptions'</span>).pageSize;
<a name="l294"><span class="ln">294  </span></a>        <span class="s5">//获取当前是第几页</span>
<a name="l295"><span class="ln">295  </span></a>        <span class="s6">var </span>pageNumber = $(<span class="s7">'#bootstrap-table'</span>).bootstrapTable(<span class="s7">'getOptions'</span>).pageNumber;
<a name="l296"><span class="ln">296  </span></a>        $(<span class="s7">&quot;#_pageNumber&quot;</span>).val(pageNumber);
<a name="l297"><span class="ln">297  </span></a>        $(<span class="s7">&quot;#_pageSize&quot;</span>).val(pageSize);
<a name="l298"><span class="ln">298  </span></a>        $(<span class="s7">'#bootstrap-table'</span>).bootstrapTable(<span class="s7">'refresh'</span>, {
<a name="l299"><span class="ln">299  </span></a>            pageNumber: pageNumber,
<a name="l300"><span class="ln">300  </span></a>            pageSize: pageSize,
<a name="l301"><span class="ln">301  </span></a>        });
<a name="l302"><span class="ln">302  </span></a>    }
<a name="l303"><span class="ln">303  </span></a>    <span class="s6">function </span>addgsmc() {
<a name="l304"><span class="ln">304  </span></a>        <span class="s6">var </span>gsid=$(<span class="s7">&quot;#pgsid&quot;</span>).text()
<a name="l305"><span class="ln">305  </span></a>        $(<span class="s7">&quot;#gsid_add&quot;</span>).val(gsid)
<a name="l306"><span class="ln">306  </span></a>        $(<span class="s7">&quot;#sbAddModal&quot;</span>).modal({
<a name="l307"><span class="ln">307  </span></a>            backdrop: <span class="s7">&quot;static&quot;</span>
<a name="l308"><span class="ln">308  </span></a>        });
<a name="l309"><span class="ln">309  </span></a>        $(<span class="s7">&quot;#lname_add&quot;</span>).val(<span class="s7">&quot;&quot;</span>)
<a name="l310"><span class="ln">310  </span></a>        $(<span class="s7">&quot;#uname_add&quot;</span>).val(<span class="s7">&quot;&quot;</span>)
<a name="l311"><span class="ln">311  </span></a>        $(<span class="s7">&quot;#lpassword_add&quot;</span>).val(<span class="s7">&quot;&quot;</span>)
<a name="l312"><span class="ln">312  </span></a>    }
<a name="l313"><span class="ln">313  </span></a>
<a name="l314"><span class="ln">314  </span></a>    <span class="s6">function </span>savesb() {
<a name="l315"><span class="ln">315  </span></a>        $.ajax({
<a name="l316"><span class="ln">316  </span></a>            url: <span class="s7">&quot;/sbgl/sbuser/insertsbuser&quot;</span>,
<a name="l317"><span class="ln">317  </span></a>            type: <span class="s7">'POST'</span>,
<a name="l318"><span class="ln">318  </span></a>            data: $(<span class="s7">&quot;#sbAddModal form&quot;</span>).serialize(),
<a name="l319"><span class="ln">319  </span></a>            success: <span class="s6">function </span>(result) {
<a name="l320"><span class="ln">320  </span></a>                <span class="s6">if </span>(result != <span class="s6">null</span>) {
<a name="l321"><span class="ln">321  </span></a>                    alert(<span class="s7">&quot;添加成功！！！&quot;</span>);
<a name="l322"><span class="ln">322  </span></a>                    $(<span class="s7">&quot;#sbAddModal&quot;</span>).modal(<span class="s7">'hide'</span>);
<a name="l323"><span class="ln">323  </span></a>                    refresh()
<a name="l324"><span class="ln">324  </span></a>                }
<a name="l325"><span class="ln">325  </span></a>            }
<a name="l326"><span class="ln">326  </span></a>        });
<a name="l327"><span class="ln">327  </span></a>    }
<a name="l328"><span class="ln">328  </span></a>    <span class="s6">function </span>EditViewById(row, index)  {
<a name="l329"><span class="ln">329  </span></a>        <span class="s6">var </span>data = JSON.stringify($(<span class="s7">&quot;#bootstrap-table&quot;</span>).bootstrapTable(<span class="s7">'getData'</span>)); <span class="s5">//获取全部数据</span>
<a name="l330"><span class="ln">330  </span></a>        <span class="s6">var </span>data_json = JSON.parse(data);
<a name="l331"><span class="ln">331  </span></a>        $(<span class="s7">&quot;#emp_update_btn&quot;</span>).val(data_json[index].gsid);
<a name="l332"><span class="ln">332  </span></a>        $(<span class="s7">'#sbUpdateModal'</span>).modal(<span class="s7">'show'</span>);
<a name="l333"><span class="ln">333  </span></a>        $(<span class="s7">'#gsid_up'</span>).val(data_json[index].gsid)
<a name="l334"><span class="ln">334  </span></a>        $(<span class="s7">'#lname_up'</span>).val(data_json[index].loginName)
<a name="l335"><span class="ln">335  </span></a>        $(<span class="s7">'#uname_up'</span>).val(data_json[index].userName)
<a name="l336"><span class="ln">336  </span></a>        $(<span class="s7">'#uId_up'</span>).val(data_json[index].userId)
<a name="l337"><span class="ln">337  </span></a>    }
<a name="l338"><span class="ln">338  </span></a>    <span class="s6">function </span>updatesb() {
<a name="l339"><span class="ln">339  </span></a>        <span class="s6">var </span>uid = $(<span class="s7">'#uId_up'</span>).val()
<a name="l340"><span class="ln">340  </span></a>        $.ajax({
<a name="l341"><span class="ln">341  </span></a>            url: <span class="s7">&quot;/sbgl/sbuser/updatesbuser/&quot; </span>+ uid,
<a name="l342"><span class="ln">342  </span></a>            type: <span class="s7">'PUT'</span>,
<a name="l343"><span class="ln">343  </span></a>            data: $(<span class="s7">&quot;#sbUpdateModal form&quot;</span>).serialize(),
<a name="l344"><span class="ln">344  </span></a>            success: <span class="s6">function </span>(result) {
<a name="l345"><span class="ln">345  </span></a>                <span class="s6">if </span>(result != <span class="s6">null</span>) {
<a name="l346"><span class="ln">346  </span></a>                    $(<span class="s7">&quot;#sbUpdateModal&quot;</span>).modal(<span class="s7">'hide'</span>);
<a name="l347"><span class="ln">347  </span></a>                    refresh()
<a name="l348"><span class="ln">348  </span></a>                }
<a name="l349"><span class="ln">349  </span></a>            }
<a name="l350"><span class="ln">350  </span></a>        });
<a name="l351"><span class="ln">351  </span></a>    }
<a name="l352"><span class="ln">352  </span></a>    <span class="s6">function </span>UpdateMxById(row, index)  {
<a name="l353"><span class="ln">353  </span></a>        <span class="s6">var </span>data = JSON.stringify($(<span class="s7">&quot;#bootstrap-table&quot;</span>).bootstrapTable(<span class="s7">'getData'</span>)); <span class="s5">//获取全部数据</span>
<a name="l354"><span class="ln">354  </span></a>        <span class="s6">var </span>data_json = JSON.parse(data);
<a name="l355"><span class="ln">355  </span></a>        <span class="s6">var </span>uId=data_json[index].userId;
<a name="l356"><span class="ln">356  </span></a>        <span class="s6">var </span>loginName=data_json[index].loginName;
<a name="l357"><span class="ln">357  </span></a>        $.ajax({
<a name="l358"><span class="ln">358  </span></a>            url:<span class="s7">&quot;/sbgl/sbuser/updatesbuser/&quot;</span>+uId,
<a name="l359"><span class="ln">359  </span></a>            type:<span class="s7">&quot;PUT&quot;</span>,
<a name="l360"><span class="ln">360  </span></a>            data: {
<a name="l361"><span class="ln">361  </span></a>                loginPassword: <span class="s7">&quot;21232f297a57a5a743894a0e4a801fc3&quot;</span>,
<a name="l362"><span class="ln">362  </span></a>            },
<a name="l363"><span class="ln">363  </span></a>            dataType: <span class="s7">&quot;JSON&quot;</span>,
<a name="l364"><span class="ln">364  </span></a>            success:<span class="s6">function </span>(date) {
<a name="l365"><span class="ln">365  </span></a>                alert(loginName+<span class="s7">&quot;的密码重置为admin&quot;</span>)
<a name="l366"><span class="ln">366  </span></a>                refresh()
<a name="l367"><span class="ln">367  </span></a>            }
<a name="l368"><span class="ln">368  </span></a>        })
<a name="l369"><span class="ln">369  </span></a>    }
<a name="l370"><span class="ln">370  </span></a>&lt;/<span class="s3">script</span>&gt;
<a name="l371"><span class="ln">371  </span></a>&lt;/<span class="s3">body</span>&gt;
<a name="l372"><span class="ln">372  </span></a>&lt;/<span class="s3">html</span>&gt;</pre>
</body>
</html>